﻿using LJLib.LocalLog;
using LJLib.Tools.File;
using System;
using System.Diagnostics;
using System.Windows.Forms;

namespace RN_DirectService_init
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Trace.Listeners.Clear();
            Trace.Listeners.Add(new LocalTraceListener(new SyncLogger(new Logger())));
            Trace.Write("程序开始，写日志");

            Application.Run(new FrmMain());
        }
    }
}
